]> dgit.raspbian.org Git - gnome-shell.git/commit
Add "Memory" tab to lg
authorColin Walters <walters@verbum.org>
Fri, 20 May 2011 19:50:54 +0000 (15:50 -0400)
committerColin Walters <walters@verbum.org>
Tue, 7 Jun 2011 18:44:35 +0000 (14:44 -0400)
commitaa03734d39bff436aafe09a9c869ae5ecb96f96a
treedfce8d7b978288f614225253c8710bc4f59fea1a
parentbb0f76f562438d8fbffe8b9acbdf279a18dfaff1
Add "Memory" tab to lg

shell_global_get_memory_info() is a new function which extracts a few
global counters we have already, namely glibc's mallinfo, spidermonkey's
JSGC_BYTES, and gjs' counters for boxed/object/etc wrappers.

There is some slight overlap with perf; ultimately though I'd
like this function to do some more extensive analysis, so it wouldn't
be quite the same.

perf is going to be mainly concerned with how big the whole process
over time is; memory_info is for debugging memory leaks.

https://bugzilla.gnome.org/show_bug.cgi?id=650692
js/ui/lookingGlass.js
src/shell-global.c
src/shell-global.h